/**
 * Created by zhaoxk on 2017/2/22.
 */
import React from 'react';
import styles from './index.less';

function TopPicker({ onClick, children, extra }) {
    return (
        <div
            onClick={onClick}
            className={styles.normal}
        >
            <div
                className={styles.wrap}
            >
                <div className={styles.cont}>
                    {children}
                </div>
                <div className={styles.extra}>{extra}</div>
            </div>
        </div>
    );
}

export default TopPicker;
